CPP=g++

LIBS=`allegro-config --libs` -lm

OBJECTS=tecgame.o utility/tecbattle.o utility/title.o utility/util.o utility/joypad.o utility/cfgreader.o

tecbattle: ${OBJECTS}
	${CPP} -g -o $@ ${OBJECTS} ${LIBS}

clean:
	find . -name '*.o' -delete
	rm -f tecbattle
